const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;

var mainWindow = null;
// Quit when all windows are closed.
app.on('window-all-closed', function() {
    // On OS X it is common for applications and their menu bar
    // to stay active until the user quits explicitly with Cmd + Q
    if (process.platform != 'darwin') {
        app.quit();
    }
});
app.on('ready', function() {
    mainWindow = new BrowserWindow({
        width: 480,
        height: 180,
        resizable:false
    });

    mainWindow.loadURL('file://' + __dirname + '/app/ui/pages/index.html');
});
